Update Recipe Scope

Update an existing recipe's ontology scope (labels, attributes, structures)

Request
path Parameters
id
required
string

: Recipe ID

Request Body schema: application/json

: The fields to update

object or null
attributes
Array of strings or null
structureIds
Array of strings or null
override
boolean or null
property name*
additional property
any
Responses
200

Ok

patch/recipes/{id}/scope
Request samples
application/json
{
  • "labelScope": {
    },
  • "attributes": [
    ],
  • "structureIds": [
    ],
  • "override": true
}
Response samples
application/json
{
  • "id": "string",
  • "url": "string",
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z",
  • "updatedBy": "string",
  • "creator": "string",
  • "title": "string",
  • "projectIds": [
    ],
  • "ontology": {
    },
  • "labelScript": "string",
  • "toolsSettings": {
    },
  • "uiSettings": {
    },
  • "metadata": {
    },
  • "v2": true
}